/**
 * Adnaan UI - Modern React UI Component Library
 * @version 0.1.0
 * @author Adnaan
 * @license MPL-2.0
 */

// 导出所有组件
export {
  Alert,
  Toast,
  ToastProvider,
  ToastListener,
  useToast,
  Confirm,
  ConfirmDialog,
  Tooltip,
  Button,
  Input,
  Textarea,
  Select,
  Radio,
  RadioGroup,
  Checkbox,
  CheckboxGroup,
  Switch,
  ColorPicker,
  DatePicker,
  Badge,
  Tabs,
  Pagination,
  InfiniteScroll,
  Empty,
  Modal,
} from './components';

// 导出所有UI工具
export {
  toast,
  toastEventBus,
  alert,
  confirm,
  confirmDialog,
  tooltip,
  modal,
  UI,
  initAdnaanUI,
  cleanupAdnaanUI,
  ui,
} from './tools';

// 导出工具类
export { scrollLock } from './utils';

// 导出所有类型
export type * from './types';
export type {
  ButtonProps,
  InputProps,
  TextareaProps,
  SelectProps,
  RadioProps,
  RadioGroupProps,
  RadioOption,
  CheckboxProps,
  CheckboxGroupProps,
  CheckboxOption,
  SwitchProps,
  ColorPickerProps,
  DatePickerProps,
  EmptyProps,
  PaginationProps,
  InfiniteScrollProps,
  ModalOptions,
  ModalSize,
} from './components';

// 导出全局类型声明
export type * from './tools/global';

// 默认导出
export { default } from './tools';

